const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  //打包后不生成map文件
  productionSourceMap: false,
  transpileDependencies: true,
  //关闭eslint校验工具
  lintOnSave: false,

  // 配置代理跨域
  devServer: {
    proxy: {
      '/': {
        target: 'http://106.52.214.110:8889',
        // target: 'http://127.0.0.1:3007',
        changeOrigin: true,//允许跨域
        ws:false
      },
    },
  },

})
